<!DOCTYPE html>
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
	layout:decorator="layout">
<head>
<title>哗啦啦</title>
</head>
<body>
	<div layout:fragment="content">
		<div class="col-md-12">
			<div class="area game">
				<div class="top1">
					<div class="col-md-3"></div>
					<div class="col-md-6">
						<div th:replace="game/gamehead"></div>
					</div>
					<div class="col-md-3"></div>
				</div>
				<div class="blank"></div>
				<div
					style="border: 1px solid #ccc; border-radius: 4px; padding: 5px;">
					<div class="top2" th:include="game/gamesubhead"></div>
					<div class="blank"></div>
					<div class="ml">  
						<div class="tt"><a th:href="@{'/fgame/'+${game.id}+'/addmodel'}">添加一个模式</a></div>
						<div class="blank"></div>
						<div>
							<table class="mtb table table-striped table-bordered  table-advance table-hover">
								<tr>
									<th>序号</th>
									<th>模式名称</th>
									<th>总投注金币</th>
									<th>操作</th>
								</tr>
								<tr th:each="model:${models}">
									<td th:text="${model.id}">1</td>
									<td th:text="${model.name}">2222</td>
									<td class="money" th:text="${model.totalBetMoney}">70</td>
									<td>
										<a href="#" th:href="@{'/fgame/'+${game.id}+'/editmodel?modelId='+${model.id}}" class="btn default btn-xs purple" >编辑</a>|
				 						<a href="#" th:href="@{'/fgame/'+${game.id}+'/deletemodel?modelId='+${model.id}}" class="btn default btn-xs purple">移除</a>						                        
						            </td>
								</tr>
							</table>
							<div th:include="page" th:with="viewState='',url=${'/fgame/'+game.id+'/cathecticmodel'},pageContext=${models}"></div>
						</div>
						<div class="blank"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>